package com.yuanqunsoft.alimigration.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Application entity. @author MyEclipse Persistence Tools
 */

public class Application implements java.io.Serializable {

    // Fields

    private Integer appId;
    private AllUser allUser;
    private String appName;
    private Short appHasReport;
    private String appCreateTime;
    private Set reports = new HashSet(0);
    private Set portfolioWithApplications = new HashSet(0);
    private Set modules = new HashSet(0);

    // Constructors

    /** default constructor */
    public Application() {
    }

    /** minimal constructor */
    public Application(AllUser allUser, String appName, Short appHasReport, String appCreateTime) {
        this.allUser = allUser;
        this.appName = appName;
        this.appHasReport = appHasReport;
        this.appCreateTime = appCreateTime;
    }

    /** full constructor */
    public Application(AllUser allUser, String appName, Short appHasReport, String appCreateTime, Set reports,
            Set portfolioWithApplications, Set modules) {
        this.allUser = allUser;
        this.appName = appName;
        this.appHasReport = appHasReport;
        this.appCreateTime = appCreateTime;
        this.reports = reports;
        this.portfolioWithApplications = portfolioWithApplications;
        this.modules = modules;
    }

    // Property accessors

    public Integer getAppId() {
        return this.appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public AllUser getAllUser() {
        return this.allUser;
    }

    public void setAllUser(AllUser allUser) {
        this.allUser = allUser;
    }

    public String getAppName() {
        return this.appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Short getAppHasReport() {
        return this.appHasReport;
    }

    public void setAppHasReport(Short appHasReport) {
        this.appHasReport = appHasReport;
    }

    public String getAppCreateTime() {
        return this.appCreateTime;
    }

    public void setAppCreateTime(String appCreateTime) {
        this.appCreateTime = appCreateTime;
    }

    public Set getReports() {
        return this.reports;
    }

    public void setReports(Set reports) {
        this.reports = reports;
    }

    public Set getPortfolioWithApplications() {
        return this.portfolioWithApplications;
    }

    public void setPortfolioWithApplications(Set portfolioWithApplications) {
        this.portfolioWithApplications = portfolioWithApplications;
    }

    public Set getModules() {
        return this.modules;
    }

    public void setModules(Set modules) {
        this.modules = modules;
    }

}